const mongoose = require('mongoose');
mongoose.Promise = global.Promise;
module.exports = mongoose.createConnection(require('../config.json').db, {
  autoIndex: false,
  useMongoClient: true
})